import request from '@/utils/request'

// 查询救护站记录模板列表 (分页)
export function selectPageTemplateAmbulanceStationDetail(query) {
    return request({
        url: '/business/templateAmbulanceStationDetail/selectPage',
        method: 'get',
        params: query
    })
}

// 查询救护站记录模板列表 (不分页)
export function listTemplateAmbulanceStationDetail(query) {
    return request({
        url: '/business/templateAmbulanceStationDetail/list',
        method: 'get',
        params: query
    })
}

// 查询救护站记录模板详细
export function getTemplateAmbulanceStationDetail(ambulanceStationDetailId) {
    return request({
        url: '/business/templateAmbulanceStationDetail/' + ambulanceStationDetailId,
        method: 'get'
    })
}

// 新增救护站记录模板
export function addTemplateAmbulanceStationDetail(data) {
    return request({
        url: '/business/templateAmbulanceStationDetail',
        method: 'post',
        data: data
    })
}

// 修改救护站记录模板
export function updateTemplateAmbulanceStationDetail(data) {
    return request({
        url: '/business/templateAmbulanceStationDetail',
        method: 'put',
        data: data
    })
}

// 删除救护站记录模板
export function delTemplateAmbulanceStationDetail(ambulanceStationDetailId) {
    return request({
        url: '/business/templateAmbulanceStationDetail/' + ambulanceStationDetailId,
        method: 'delete'
    })
}
